package com.dao.secondary.device;
import com.model.domain.device.GetDevicePcbBjBaseInfoDO;
import com.model.pojo.device.DevicePcbBjBaseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DevicePcbBjBaseInfoMapper {
    int deleteByPrimaryKey(@Param("devicePcbBjBaseInfoId") Long devicePcbBjBaseInfoId);

    int insert(DevicePcbBjBaseInfo record);

    int insertSelective(DevicePcbBjBaseInfo record);

    DevicePcbBjBaseInfo selectByPrimaryKey(@Param("id") Long id);
    DevicePcbBjBaseInfo selectByDtu(@Param("dtu") String dtu);
    DevicePcbBjBaseInfo selectBySim(@Param("sim") String sim);

    int updateByPrimaryKeySelective(DevicePcbBjBaseInfo record);

    int updateByPrimaryKey(DevicePcbBjBaseInfo record);

    List<DevicePcbBjBaseInfo> selectList(GetDevicePcbBjBaseInfoDO getdevicePcbBjBaseInfoDO);

    void insertListSelective(List<DevicePcbBjBaseInfo> devicePcbBjBaseInfoList);

    void updateListSelective(List<DevicePcbBjBaseInfo> devicePcbBjBaseInfoList);

    int has(@Param("devicePcbBjBaseInfoId") Long devicePcbBjBaseInfoId, @Param("isDelete") Byte isDelete);
}